#include<stdio.h>
int main ()
{
    for (int i = 1; i <10; i++)
    {
        for (int j =1; j <=i; j++)
        {
            printf("%d*%d=%d ",j,i,i*j);
        }
        printf("\n");
    }
    
    printf("1\n");


}